package cn.gp.service;

import cn.gp.common.PageInfo;
import cn.gp.entity.Consumer;

/**
 * @ClassName ConsumerService
 * @Description TODO
 * @Author He_Guoping
 * @Date 2023/5/28 13:01
 * @Version 1.0
 */
public interface ConsumerService {
    PageInfo<Consumer> page(Integer page, Integer pageSize, String name);

    Boolean save(Consumer consumer);

    Boolean deleteById(Integer id);

    boolean update(Consumer consumer);
}
